package tech.aistar.Vo;


import tech.aistar.entity.Ord;

import javax.xml.crypto.Data;
import java.util.Set;

public class OrdVo extends Ord {
    //一个用户
    private UserVo userVo;



    //多个明细

    private Set<OrderdetailVo> orderdetailVoSet;

private Set<ItemVo> itemVoSet;

    public OrdVo(Integer o_id, Integer u_id, Data o_createtime, String o_num, UserVo userVo, Set<OrderdetailVo> orderdetailVoSet, Set<ItemVo> itemVoSet) {
        super(o_id, u_id, o_createtime, o_num);
        this.userVo = userVo;
        this.orderdetailVoSet = orderdetailVoSet;
        this.itemVoSet = itemVoSet;
    }

    public OrdVo(UserVo userVo, Set<OrderdetailVo> orderdetailVoSet, Set<ItemVo> itemVoSet) {
        this.userVo = userVo;
        this.orderdetailVoSet = orderdetailVoSet;
        this.itemVoSet = itemVoSet;
    }
}
